package com.igeek.base.ch03;

/**
 * @Description TODO
 * @Author chenmin
 * @Date 2024/7/11 16:17
 */
public class work {
    private String name;
    private int id;
    private int money;

    public work(String name, int id, int money) {
        this.name = name;
        this.id = id;
        this.money = money;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }
    public abstract class addSalary{
        abstract void text();

    }
}
